<template>
    <div id="backimg">
        <div id="logo">sea fog</div>
        <div id="login">
            <el-card class="box-card">
                <div id="tex">
                    请输入提取码:
                </div>
                <div id="form">
                    <el-input v-model="yard"></el-input>
                </div>
                <div id="butt">
                    <el-link :underline="false"
                        :href="'http://192.168.139.128:9090/file/share/'+this.$route.params.id+'?yard='+yard"
                        target="_blank">
                        <el-button type="primary" round>提取</el-button>
                    </el-link>
                    
                </div>

            </el-card>
        </div>
        <div id="copyright">Copyright © 2022 雾海. All Rights Reserved.</div>
    </div>

</template>

<script>
    export default ({
        data() {
            return {
                yard: '',
                fileid: ''
            }
        },

        methods: {
            
        }
    })
</script>

<style scoped>
    #backimg {
        top: 0;
        left: 0;
        position: fixed;
        background: url("../assets/footer-cloud_0e0a657.png");
        width: 100%;
        height: 100%;
        position: fixed;
        background-size: 100% 100%;
    }

    #logo {
        color: rgb(105, 133, 130);
        font-size: 25px;
        font-weight: 800;
        text-transform: uppercase;
        position: absolute;
        top: 15%;
        left: 15%;
    }

    #login {
        position: absolute;
        top: 30%;
        left: 38%;
    }

    .el-card {
        width: 373px;
        height: 210;
        background-color: rgba(255, 255, 255, 0.435);
        border-radius: 15px;
    }

    #tex {
        text-align: left;

    }

    #form {
        line-height: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }

    #butt {
        text-align: right;
        line-height: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }


    #copyright {
        color: rgb(30, 4, 88);
        position: absolute;
        top: 95%;
        left: 38%;
    }
</style>